package com.xqboss.apps.dto.hama;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 建设运动场配置
 * </p>
 *
 * @author admin
 * @since 2024-02-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="WebHamaOpenConfigVo", description="建设运动场配置")
public class WebHamaOpenConfigDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "运动场名称")
    @NotNull(message = "运动场名称不能为空~")
    private String name;

    @ApiModelProperty(value = "排序编号")
    @Min(value = 0,message = "排序编号最小为零~")
    private Integer sort;

    @ApiModelProperty(value = "藏品数量")
    @Min(value = 0,message = "藏品数量最小为零~")
    private Integer hamaNumber;

    @ApiModelProperty(value = "藏品id")
    private Long nftId;

    @ApiModelProperty(value = "力豆数量")
    @Min(value = 0,message = "力豆数量最小为零~")
    private Integer beadNumber;

    @ApiModelProperty(value = "单人累计建设上限")
    @Min(value = 0,message = "单人累计建设上限最小为零~")
    private Integer isOpenNumber;

    @ApiModelProperty(value = "建设用户数量上限")
    @Min(value = 0,message = "建设用户数量上限最小为零~")
    private Integer number;

    @ApiModelProperty(value = "空投速率（时）")
    @Min(value = 0,message = "空投速率（时）最小为零~")
    private BigDecimal basicSpeed;

    @ApiModelProperty(value = "空投天数")
    @Min(value = 0,message = "空投天数最小为零~")
    private Integer hireDays;

    @ApiModelProperty(value = "空投数量上限（力豆）")
    @Min(value = 0,message = "空投数量上限（力豆）最小为零~")
    private Integer toplimit;

    @ApiModelProperty(value = "运动数量展示（蛙星人数量）")
    @Min(value = 0,message = "运动数量展示（蛙星人数量）最小为零~")
    private Integer waNumber;
}
